package com.jsmile.cloud.msgcenter.api.enums;

public enum MsgCodeEnum {

    SMS_TEMPLATE_NOT_EXISTS(140001, "短信模板不存在!"), SMS_SEND_MORE(140002, "频繁发送短信,请稍后重试!"), WX_INFO_ERROR(140100, "微信授权信息解密失败!"),;

    /**
     * 错误信息
     */
    private String resMsg;
    /**
     * 错误码
     */
    private Integer resCode;

    MsgCodeEnum(int resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }
}
